/**
 * Created by zl206 on 2016/11/5.
 */



function drawPoints(db){
    var DB=(db||1);
    for(var i = 0; i< this.length; ++i){
        var x=this[i].point.x-wX;
        var y=this[i].point.y-wY;
        if(x<0||x>dW||y<0||y>dH)continue;
        cxt.beginPath();
        cxt.fillStyle=this[i].string;
        cxt.arc(x,y,5*DB,0,2*Math.PI);
        cxt.fill();
    }
}

